﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="syserrorlog.aspx.cs" Inherits="TRPOP.CMS.Web.Admin.syserrorlog" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>系统错误日志</title>
    <script src="../../js/jquery.js" type="text/javascript"></script>
    <script src="../../js/utils.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <table id="page_navigator">
        <tr>
            <td class="align_l">
                当前位置：系统管理 -> 运行日志
            </td>
        </tr>
    </table>
    <div>
        <!--搜索-->
        <table class="table_search" cellpadding="0" cellspacing="2" width="100%" border="0">
            <tr>
                <td align="right" nowrap="nowrap" width="150">
                    按日期查询:
                </td>
                <td align="left" nowrap="nowrap" width="200">
                    <cms:TextBox runat="server" ID="txtBeginTime" onclick="javascript:return new Calendar.display(this.id,event);"
                        Width="100px" />~
                    <cms:TextBox runat="server" ID="txtEndTime" onclick="javascript:return new Calendar.display(this.id,event);"
                        Width="100px" />
                    <cms:Button runat="server" ID="btSearch" OnClick="btSearch_Click" Text="搜索" />
                </td>
            </tr>
        </table>
        <!--列表-->
        <table class="table_list">
            <tbody>
                <tr class="tr_title">
                    <th width="15">
                    </th>
                    <th>
                        操作者
                    </th>
                    <th>
                        内容
                    </th>
                    <th>
                        日期
                    </th>
                </tr>
                <cms:Repeater ID="rptList" runat="server">
                    <ItemTemplate>
                        <tr class="tr_listitem" onmouseout="this.className='tr_mouseout'" onmouseover="this.className='tr_mouseover'">
                            <td>
                                <input type="checkbox" name="delid" value="<%# Eval("LogId")%>" />
                            </td>
                            <td class="align_c" width="200">
                                <%#GetAdminNameById(Convert.ToInt32(Eval("AddUserId")))%>
                            </td>
                            <td>
                                <textarea style="width: 100%; height: 100px;">  <%# Eval("Detail")%></textarea>
                            </td>
                            <td class="align_c" width="200">
                                <%# Eval("AddTime")%>
                            </td>
                        </tr>
                    </ItemTemplate>
                </cms:Repeater>
            </tbody>
        </table>
        <!--操作-->
        <table class="table_operator">
            <tr class="tr_operator">
                <td>
                    <input type="checkbox" name="chkall" value="on" onclick="if (this.checked) {SelectAll(this.form);}else{UnSelectAll(this.form);}"
                        id="chkall" />
                    <label for="chkall">
                        全选</label>&nbsp;&nbsp;
                    <cms:Button runat="server" CssClass="button_style" ID="btSubmit" Text="删除" OnClick="btSubmit_Click"
                        OnClientClick="return IsCheckBoxChecked(this.form);" />
                </td>
                <td class="align_r">
                </td>
            </tr>
            <tr class="tr_pager">
                <td colspan="2">
                    <cms:Pager ID="Pager" runat="server" PageSize="10" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
